<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.js"></script>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    
    <style type="text/css">  
.fl{float: left; } 
.fr{float: right; } 
.clearfix{flex-flow: auto;_height:1%; }
li{list-style-type: none;} 
.head{background-color: rgb(208,14,49);padding-bottom: 10px;padding-top: 10px;margin-bottom: 0px;color: white;} 
.login{background-color: gray;padding: 4px; } 
.login-fr{padding-right: 10px; } 
.title{padding-left:  20px;font-size: 18px; }
.pic{  padding-top: 80px; padding-left: 100px;}
.underline{height: 2px; width: 1140px;     background-color: red;      margin-top: 10px;}
.invate{ background-color: rgb(22,125,223); padding: 5px 20px;}
    </style>
</head>
<body>
     <div class="container">
        <div>
        <div class="pic" align="center"><img src="http://172.16.1.55/logo.png"></div>
        <form action="${request.contextPath}/commitTask" method="post" enctype="multipart/form-data">
        <div class="team clearfix">
      <div class="create-team fl">提交或修改 的任务</div>
      <div class="invate fr"><button type="submit" class="btn">我的团队</button><button type="submit" class="btn">保存任务</button></div>
        </div>
        <div class="underline"></div>
        <div class="input" align="center"><label>所属项目：</label> <div class="option"> <#if project??><#list project as p><select>
          <option value="title">${p.title}</option></select></#list></#if></div>
                <div class="form-group"><label>任务名称：</label><input class="form-control" type="text" name="task.title" value="title"> 
                <div>今天需完成的任务名称</div>
                <div>${fieldErrors['task.title']!""}</div>
                </div>
                <div class="form-group"><label>任务描述：</label><input class="form-control" type="text" name="task.desc" value=" desc">
                <div>完成任务的补充描述</div>
                <div>${fieldErrors['task.desc']!""}</div>
                </div>
                <div class="form-group"><label>开始日期：</label><input class="form-control" type="text" name="task.startTime" value="2011-11-11"></div>
                <div>开始执行任务的时间</div>
                <div class="form-group"><label>超时日期：</label><input class="form-control" type="text" name="task.endTime" value="2012-11-11"></div>
                <div>任务必须在此日期完成提交，没有提交为超时</div>
                <div class="form-group"><label>附件：</label>
                <input type="file" name="file"></div>
                <div>完成此项任务所需要的附件，素材、参考源码、jar 等，如果是多个文件，请压缩成 zip 格式。</div>
                <div><label>提交统计：</label></div>
               </div>
        </form>
        </div>

</body>
</html>